package com.succodes.lostandfound.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 消息通知
 * </p>
 *
 * @author 石炫杰
 * @since 2022-08-17
 */
@Getter
@Setter
@ApiModel(value = "Notice对象", description = "消息通知")
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("消息id")
    @TableId(value = "notice_id", type = IdType.AUTO)
    private Long noticeId;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdDatetime;


}
